from typing import List

from pydantic import BaseModel

json_header = {
    "Accept": "application/json, text/javascript, */*; q=0.01",
    "Accept-Encoding": "gzip, deflate",
    "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
    "Host": "i.workercn.cn",
    "Origin": "http://media.workercn.cn",
    "Referer": "http://media.workercn.cn/",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
}


class PaperGRRBSaveDays(BaseModel):
    days: str = ''
    jsons: str = ''
    url: str = ''
    json_url: str = ''
    downdate: str = ''

class PaperGRRBParse4(BaseModel):
    downdate: str = ''
    jsons: dict = dict()
    batch: str = ''


class PaperGRRBParseSave4(BaseModel):
    djson: dict = dict()